@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="computerInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="dname" name="名称" type="dname" />

                    <#input id="color" name="颜色" />

                    <#select id="pid" name="类型" underline="true">
                    <option value="">请选择</option>
                    @for(computertype in conputerType){
                    <option label="${computertype.name}" value="${computertype.id}">${computertype.name}</option>
                    @}
                </#select>
            </div>
        </div>
        <div class="col-sm-6">
            <div id="driverInfoContent">
                <#input id="createtime" name="创建时间" type="date"
                clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})" />

                <#input id="shelltime" name="出售时间" type="date"
                clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})" />

                <#input id="picture" name="图片路径" type="picture" />
            </div>
        </div>
    </div>

    <div class="row btn-group-m-t">
        <div class="col-sm-10">
            <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
            clickFun="ComputerInfoDlg.addSubmit()"/>
            <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
            clickFun="ComputerInfoDlg.close()"/>
        </div>
    </div>
</div>
</div>
</div>
</div>
</div>
<script src="${ctxPath}/static/modular/computer/computer/computer_info.js"></script>

@}
